﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZhCun.DbCore.Cores;

namespace ZhCun.DbCore.Exceptions
{
    //public class ContextException : DbHelperException
    //{
    //    /// <summary>
    //    /// 用于自定义逻辑错误的异常
    //    /// </summary>
    //    protected internal ContextException(string message, DBContext dbConntext)
    //        : this(message, dbConntext, null)
    //    { }
    //    protected internal ContextException(string message, DBContext dbConntext, Exception innerException)
    //        : base(message, dbConntext.DbHelper, innerException)
    //    { }

    //    protected internal ContextException(EmDbContextMethod method, DBContext dbContext, Exception innerException)
    //        : this(null, dbContext, innerException)
    //    { }
    //}
}